/**
*  \file lithium_ion_cfg.h
*
*  \brief  truck specific configuration of lithium-ion
*
*
*
*  \author Li dajin:port from LDC72
*
*
*/

#ifndef LITHIUM_ION_CFG_H_INCLUDED
#define LITHIUM_ION_CFG_H_INCLUDED

/*================================================[ public includes  ]================================================*/

/* CAN-Driver: */



/*================================================[ public defines   ]================================================*/



#define EQU_NOT_FITTED (0)
#define EQU_FITTED     (1)

#define EQU_HARDWARE_CODE (EQU_FITTED)            /* KCPC_VC: Codierung Li-Ion-Batterie enabled */

#if (EQU_HARDWARE_CODE == EQU_FITTED)
   #define INPUT_CODE_LI_ION (in_uCodeLiIon)      /* KCPC_VC: Codierung an Pin :K84 */
#endif

#define EQU_K41_CHECK (EQU_NOT_FITTED)            /* KCPC_VC: :K41 wird beim Hochlauf ignoriert */

#if (EQU_K41_CHECK == EQU_FITTED)
   #define IS_K41_GREATER_10V                     (10.0F < sLiIon.f32BatteryVolt_K41)
#else
   #define IS_K41_GREATER_10V                     (TRUE)
#endif

#define DEF_CURRENT_CAN_SCHEME                    (LI_ION_CAN_SCHEME_COUNTERBALANCE)



/*================================================[ public datatypes ]================================================*/

/*================================================[ public variables ]================================================*/

/*================================================[ public functions ]================================================*/

/*====================================================================================================================*/

#endif

/***********************************************************************************************************************
*                             Copyright 2016 Linde Material Handling. All rights reserved.                             *
***********************************************************************************************************************/
